package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

/**
 * 
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@DbTable(tableName = "t_monitor")
public class Monitor extends BaseEntity {
        /**
     * 园林单位
     */
    @DbTableField(columnName = "c_dept", dbType = DbTypeEnum.VARCHAR)
    public String dept ;

    /**
     * 公园名称
     */
    @DbTableField(columnName = "c_garden_name", dbType = DbTypeEnum.VARCHAR)
    public String gardenName ;

    /**
     * 联系人
     */
    @DbTableField(columnName = "c_contact", dbType = DbTypeEnum.VARCHAR)
    public String contact ;

    /**
     * 联系电话
     */
    @DbTableField(columnName = "c_tel", dbType = DbTypeEnum.VARCHAR)
    public String tel ;

    /**
     * 详细位置
     */
    @DbTableField(columnName = "c_address", dbType = DbTypeEnum.VARCHAR)
    public String address ;

    /**
     * 监控数量（个）
     */
    @DbTableField(columnName = "c_num", dbType = DbTypeEnum.INTEGER)
    public Integer num ;

    /**
     * ip地址
     */
    @DbTableField(columnName = "c_ip", dbType = DbTypeEnum.VARCHAR)
    public String ip ;

    /**
     * 端口号
     */
    @DbTableField(columnName = "c_port", dbType = DbTypeEnum.VARCHAR)
    public String port ;

    /**
     * 设备名称
     */
    @DbTableField(columnName = "c_device_name", dbType = DbTypeEnum.VARCHAR)
    public String deviceName ;

    /**
     * 经度
     */
    @DbTableField(columnName = "c_lng", dbType = DbTypeEnum.DOUBLE)
    public Double lng ;

    /**
     * 纬度
     */
    @DbTableField(columnName = "c_lat", dbType = DbTypeEnum.DOUBLE)
    public Double lat ;


}
